package com.dzq.study.translate.annos;

import com.dzq.study.translate.serialize.TranslateSerialize;
import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.lang.annotation.*;

@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@JacksonAnnotationsInside
@JsonSerialize(using = TranslateSerialize.class)
public @interface SwitchDic {

    Class translateClass();
}
